/* ================================================
   AETHON v2 â€” home.css
================================================ */

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--ivory);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--ivory-2) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ivory-2) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse 70% 90% at 75% 50%, black 20%, transparent 75%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.hero-orb.o1 {
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(61, 122, 114, 0.18) 0%, transparent 70%);
    right: 4%;
    top: 5%;
}

.hero-orb.o2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 186, 162, 0.25) 0%, transparent 70%);
    right: 35%;
    bottom: 8%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(61, 122, 114, 0.08);
    border: 1px solid rgba(61, 122, 114, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-pip {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: pip 2.2s ease-in-out infinite;
}

@keyframes pip {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero-title {
    color: var(--slate-900);
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    padding: 0 28px 0 0;
}

.stat:first-child {
    padding-left: 0;
}

.stat-n {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1;
    display: inline;
}

.stat-sfx {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--teal);
}

.stat-l {
    display: block;
    font-size: 0.72rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 3px;
}

.stat-sep {
    width: 1px;
    height: 44px;
    background: var(--ivory-3);
    margin-right: 28px;
}

/* Drone visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.drone-frame {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.df-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--ivory-3);
}

.df-ring.r1 {
    width: 100%;
    height: 100%;
    animation: spin 80s linear infinite;
    opacity: 0.5;
}

.df-ring.r2 {
    width: 70%;
    height: 70%;
    border-style: dashed;
    animation: spin 50s linear infinite reverse;
    opacity: 0.4;
}

.df-ring.r3 {
    width: 38%;
    height: 38%;
    animation: spin 30s linear infinite;
    opacity: 0.55;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.df-body {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 220px;
    animation: hover 6s ease-in-out infinite;
}

@keyframes hover {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-14px) rotate(1deg);
    }
}

.rt {
    transform-origin: 42px 68px;
    animation: rotor 0.45s linear infinite;
}

.rt2 {
    transform-origin: 178px 68px;
    animation: rotor 0.38s linear infinite reverse;
}

.rt3 {
    transform-origin: 42px 152px;
    animation: rotor 0.5s linear infinite reverse;
}

.rt4 {
    transform-origin: 178px 152px;
    animation: rotor 0.42s linear infinite;
}

@keyframes rotor {
    to {
        transform: rotate(360deg);
    }
}

.df-scan {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 75%, rgba(61, 122, 114, 0.15) 100%);
    animation: scanRot 3s linear infinite;
    z-index: 1;
}

@keyframes scanRot {
    to {
        transform: rotate(360deg);
    }
}

.df-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1.5px solid rgba(61, 122, 114, 0.4);
    animation: pulse 3s ease-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.df-corners .dc {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--teal);
    border-style: solid;
    opacity: 0.7;
}

.dc.tl {
    top: 12px;
    left: 12px;
    border-width: 2px 0 0 2px;
}

.dc.tr {
    top: 12px;
    right: 12px;
    border-width: 2px 2px 0 0;
}

.dc.bl {
    bottom: 12px;
    left: 12px;
    border-width: 0 0 2px 2px;
}

.dc.br {
    bottom: 12px;
    right: 12px;
    border-width: 0 2px 2px 0;
}

/* ---- CATEGORY SECTION ---- */
.cat-section {
    background: var(--ivory);
    padding: 0 0 80px;
}

/* ---- INTRO ---- */
.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    color: var(--slate-900);
    margin-bottom: 22px;
    margin-top: 12px;
}

.intro-text p {
    margin-bottom: 14px;
    max-width: 460px;
}

.intro-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pillar {
    background: var(--ivory);
    border: 1px solid var(--ivory-2);
    border-radius: var(--r-md);
    padding: 22px;
    transition: transform 0.22s, box-shadow 0.22s;
}

.pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(12, 11, 9, 0.07);
}

.pillar-mark {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 10px;
}

.pillar h4 {
    color: var(--slate-900);
    margin-bottom: 6px;
}

.pillar p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* ---- FEATURED SYSTEMS ---- */
.section-hd {
    margin-bottom: 44px;
}

.section-hd h2 {
    color: var(--slate-900);
    margin-top: 8px;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.feat-card {
    background: var(--white);
    border: 1px solid var(--ivory-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: block;
    transition: transform 0.26s, box-shadow 0.26s;
}

.feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(12, 11, 9, 0.1);
}

.feat-card--featured {
    border-color: var(--teal-pale);
}

.fc-vis {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fc-v1 {
    background: linear-gradient(135deg, #1c2420 0%, #243d38 100%);
}

.fc-v2 {
    background: linear-gradient(135deg, #192822 0%, #1e3c34 100%);
}

.fc-v3 {
    background: linear-gradient(135deg, #1e2820 0%, #2a3d2c 100%);
}

/* Animated shapes in feature cards */
.fc-v1 .fc-anim-target {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(61, 122, 114, 0.6);
    border-radius: 50%;
    position: relative;
}

.fc-v1 .fc-anim-target::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: rgba(61, 122, 114, 0.7);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: rotSlow 4s linear infinite;
}

@keyframes rotSlow {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.fc-v2 .fc-anim-target {
    width: 80px;
    height: 80px;
    border: 1.5px solid rgba(95, 168, 158, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(95, 168, 158, 0.07), 0 0 0 40px rgba(95, 168, 158, 0.04);
    animation: pulseRing 2.5s ease-out infinite;
}

@keyframes pulseRing {

    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(95, 168, 158, 0.12), 0 0 0 20px rgba(95, 168, 158, 0.06);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(95, 168, 158, 0.12), 0 0 0 40px rgba(95, 168, 158, 0.04);
    }
}

.fc-v3 .fc-anim-target {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.fc-v3 .fc-anim-target::before,
.fc-v3 .fc-anim-target::after {
    display: none;
}

/* Use JS-generated dots */

.fc-body {
    padding: 22px;
}

.fc-cat {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    display: block;
    margin-bottom: 6px;
}

.fc-body h3 {
    color: var(--slate-900);
    margin-bottom: 8px;
}

.fc-body p {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.fc-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.feat-card:hover .fc-link {
    gap: 9px;
}

.feat-footer {
    text-align: center;
}

/* ---- TECH TEASER ---- */
.tt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tt-text h2 {
    margin-bottom: 22px;
    margin-top: 12px;
}

.tt-text p {
    margin-bottom: 16px;
}

.tn-diagram {
    position: relative;
    width: 280px;
    height: 280px;
    margin: auto;
}

.tn-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tn-c {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--teal);
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tn-n {
    position: absolute;
    background: var(--slate-700);
    color: var(--sand);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: 8px;
    border: 1px solid var(--slate-600);
    z-index: 2;
    white-space: nowrap;
    transition: background 0.2s;
}

.tn-n:hover {
    background: var(--slate-600);
}

.tn-n1 {
    top: 8px;
    left: 8px;
}

.tn-n2 {
    top: 8px;
    right: 8px;
}

.tn-n3 {
    bottom: 8px;
    left: 8px;
}

.tn-n4 {
    bottom: 8px;
    right: 8px;
}

/* ---- HOME CTA ---- */
.home-cta {
    background: var(--ivory);
    text-align: center;
}

.hcta-inner {
    max-width: 580px;
    margin: auto;
}

.hcta-inner h2 {
    color: var(--slate-900);
    margin: 12px 0 20px;
}

.hcta-inner>p {
    color: var(--slate-500);
    font-size: 1rem;
    margin-bottom: 36px;
}

.hcta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hcta-note {
    margin-top: 18px !important;
    font-size: 0.78rem !important;
    color: var(--slate-400) !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .intro-grid,
    .tt-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tn-diagram {
        display: none;
    }
}

@media (max-width: 640px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }

    .intro-pillars {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-sep {
        display: none;
    }

    .stat {
        padding: 0;
    }
}